<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>Awesome-pyecharts</title>
            <script type="text/javascript" src="https://assets.pyecharts.org/assets/echarts.min.js"></script>
        <script type="text/javascript" src="https://assets.pyecharts.org/assets/maps/china.js"></script>

</head>
<body>
    <div id="330e780a693548b1bc5d8bb782d2ec35" class="chart-container" style="width:900px; height:500px;"></div>
    <script>
        var chart_330e780a693548b1bc5d8bb782d2ec35 = echarts.init(
            document.getElementById('330e780a693548b1bc5d8bb782d2ec35'), 'white', {renderer: 'canvas'});
        var option_330e780a693548b1bc5d8bb782d2ec35 = {
    "animation": true,
    "animationThreshold": 2000,
    "animationDuration": 1000,
    "animationEasing": "cubicOut",
    "animationDelay": 0,
    "animationDurationUpdate": 300,
    "animationEasingUpdate": "cubicOut",
    "animationDelayUpdate": 0,
    "color": [
        "#c23531",
        "#2f4554",
        "#61a0a8",
        "#d48265",
        "#749f83",
        "#ca8622",
        "#bda29a",
        "#6e7074",
        "#546570",
        "#c4ccd3",
        "#f05b72",
        "#ef5b9c",
        "#f47920",
        "#905a3d",
        "#fab27b",
        "#2a5caa",
        "#444693",
        "#726930",
        "#b2d235",
        "#6d8346",
        "#ac6767",
        "#1d953f",
        "#6950a1",
        "#918597"
    ],
    "series": [
        {
            "type": "scatter",
            "name": "geo",
            "coordinateSystem": "geo",
            "symbolSize": 6,
            "data": [
                {
                    "name": "\u5317\u4eac",
                    "value": [
                        116.407526,
                        39.90403,
                        3
                    ]
                },
                {
                    "name": "\u5929\u6d25",
                    "value": [
                        117.200983,
                        39.084158,
                        3
                    ]
                },
                {
                    "name": "\u4e0a\u6d77",
                    "value": [
                        121.473701,
                        31.230416,
                        3
                    ]
                },
                {
                    "name": "\u91cd\u5e86",
                    "value": [
                        106.551556,
                        29.563009,
                        3
                    ]
                },
                {
                    "name": "\u77f3\u5bb6\u5e84",
                    "value": [
                        114.48,
                        38.03,
                        3
                    ]
                },
                {
                    "name": "\u4fdd\u5b9a",
                    "value": [
                        115.48,
                        38.85,
                        3
                    ]
                },
                {
                    "name": "\u592a\u539f",
                    "value": [
                        112.53,
                        37.87,
                        3
                    ]
                },
                {
                    "name": "\u664b\u57ce",
                    "value": [
                        112.51,
                        35.3,
                        2
                    ]
                },
                {
                    "name": "\u547c\u548c\u6d69\u7279",
                    "value": [
                        111.65,
                        40.82,
                        3
                    ]
                },
                {
                    "name": "\u6c88\u9633",
                    "value": [
                        123.38,
                        41.8,
                        3
                    ]
                },
                {
                    "name": "\u5927\u8fde",
                    "value": [
                        121.62,
                        38.92,
                        3
                    ]
                },
                {
                    "name": "\u957f\u6625",
                    "value": [
                        125.35,
                        43.88,
                        3
                    ]
                },
                {
                    "name": "\u54c8\u5c14\u6ee8",
                    "value": [
                        126.63,
                        45.75,
                        3
                    ]
                },
                {
                    "name": "\u5357\u4eac",
                    "value": [
                        118.78,
                        32.04,
                        3
                    ]
                },
                {
                    "name": "\u65e0\u9521",
                    "value": [
                        120.29,
                        31.59,
                        3
                    ]
                },
                {
                    "name": "\u82cf\u5dde",
                    "value": [
                        120.62,
                        31.32,
                        3
                    ]
                },
                {
                    "name": "\u676d\u5dde",
                    "value": [
                        120.19,
                        30.26,
                        3
                    ]
                },
                {
                    "name": "\u5b81\u6ce2",
                    "value": [
                        121.56,
                        29.86,
                        3
                    ]
                },
                {
                    "name": "\u6e29\u5dde",
                    "value": [
                        120.65,
                        28.01,
                        3
                    ]
                },
                {
                    "name": "\u5609\u5174",
                    "value": [
                        120.76,
                        30.77,
                        3
                    ]
                },
                {
                    "name": "\u5408\u80a5",
                    "value": [
                        117.27,
                        31.86,
                        3
                    ]
                },
                {
                    "name": "\u829c\u6e56",
                    "value": [
                        118.38,
                        31.33,
                        2
                    ]
                },
                {
                    "name": "\u798f\u5dde",
                    "value": [
                        119.3,
                        26.08,
                        3
                    ]
                },
                {
                    "name": "\u53a6\u95e8",
                    "value": [
                        118.1,
                        24.46,
                        3
                    ]
                },
                {
                    "name": "\u6cc9\u5dde",
                    "value": [
                        118.58,
                        24.93,
                        3
                    ]
                },
                {
                    "name": "\u5357\u660c",
                    "value": [
                        115.89,
                        28.68,
                        3
                    ]
                },
                {
                    "name": "\u9e70\u6f6d",
                    "value": [
                        117.03,
                        28.14,
                        3
                    ]
                },
                {
                    "name": "\u6d4e\u5357",
                    "value": [
                        117,
                        36.65,
                        3
                    ]
                },
                {
                    "name": "\u9752\u5c9b",
                    "value": [
                        120.33,
                        36.07,
                        3
                    ]
                },
                {
                    "name": "\u90d1\u5dde",
                    "value": [
                        113.65,
                        34.76,
                        3
                    ]
                },
                {
                    "name": "\u5357\u9633",
                    "value": [
                        112.32,
                        33,
                        2
                    ]
                },
                {
                    "name": "\u6b66\u6c49",
                    "value": [
                        114.31,
                        30.52,
                        3
                    ]
                },
                {
                    "name": "\u957f\u6c99",
                    "value": [
                        113,
                        28.21,
                        3
                    ]
                },
                {
                    "name": "\u682a\u6d32",
                    "value": [
                        113.16,
                        27.83,
                        2
                    ]
                },
                {
                    "name": "\u5e7f\u5dde",
                    "value": [
                        113.23,
                        23.16,
                        3
                    ]
                },
                {
                    "name": "\u6df1\u5733",
                    "value": [
                        114.07,
                        22.62,
                        3
                    ]
                },
                {
                    "name": "\u4f5b\u5c71",
                    "value": [
                        113.11,
                        23.05,
                        3
                    ]
                },
                {
                    "name": "\u4e1c\u839e",
                    "value": [
                        113.75,
                        23.04,
                        3
                    ]
                },
                {
                    "name": "\u67f3\u5dde",
                    "value": [
                        109.4,
                        24.33,
                        3
                    ]
                },
                {
                    "name": "\u5357\u5b81",
                    "value": [
                        108.33,
                        22.84,
                        3
                    ]
                },
                {
                    "name": "\u6d77\u53e3",
                    "value": [
                        110.35,
                        20.02,
                        3
                    ]
                },
                {
                    "name": "\u743c\u6d77",
                    "value": [
                        110.28,
                        19.14,
                        2
                    ]
                },
                {
                    "name": "\u6210\u90fd",
                    "value": [
                        104.06,
                        30.67,
                        3
                    ]
                },
                {
                    "name": "\u8d35\u9633",
                    "value": [
                        106.71,
                        26.57,
                        3
                    ]
                },
                {
                    "name": "\u6606\u660e",
                    "value": [
                        102.73,
                        25.04,
                        3
                    ]
                },
                {
                    "name": "\u897f\u5b89",
                    "value": [
                        108.95,
                        34.27,
                        3
                    ]
                },
                {
                    "name": "\u5170\u5dde",
                    "value": [
                        103.73,
                        36.03,
                        3
                    ]
                },
                {
                    "name": "\u897f\u5b81",
                    "value": [
                        101.74,
                        36.56,
                        3
                    ]
                },
                {
                    "name": "\u94f6\u5ddd",
                    "value": [
                        106.27,
                        38.47,
                        3
                    ]
                },
                {
                    "name": "\u4e4c\u9c81\u6728\u9f50",
                    "value": [
                        87.68,
                        43.77,
                        3
                    ]
                },
                {
                    "name": "\u7ecd\u5174",
                    "value": [
                        120.58,
                        30.01,
                        1
                    ]
                },
                {
                    "name": "\u4e2d\u5c71",
                    "value": [
                        113.38,
                        22.52,
                        1
                    ]
                },
                {
                    "name": "\u73e0\u6d77",
                    "value": [
                        113.52,
                        22.3,
                        1
                    ]
                },
                {
                    "name": "\u5e38\u5dde",
                    "value": [
                        119.95,
                        31.79,
                        1
                    ]
                },
                {
                    "name": "\u5357\u901a",
                    "value": [
                        121.05,
                        32.08,
                        1
                    ]
                }
            ],
            "label": {
                "show": true,
                "position": "top",
                "color": "black",
                "margin": 8,
                "formatter":                 function(x){                    console.log(x);                    if (['\u798f\u5dde', '\u4e4c\u9c81\u6728\u9f50', '\u547c\u548c\u6d69\u7279', '\u94f6\u5ddd', '\u897f\u5b81', '\u5170\u5dde', '\u6210\u90fd', '\u8d35\u9633', '\u6606\u660e', '\u5357\u5b81', '\u6d77\u53e3', '\u957f\u6c99', '\u5357\u660c', '\u6b66\u6c49', '\u5408\u80a5', '\u90d1\u5dde', '\u6d4e\u5357', '\u592a\u539f', '\u77f3\u5bb6\u5e84', '\u5929\u6d25', '\u5317\u4eac', '\u5927\u8fde', '\u6c88\u9633', '\u957f\u6625', '\u54c8\u5c14\u6ee8'].indexOf(x.data.name) > -1) {                        return x.data.name                    }                    else {                        return ''                    }                }                
            },
            "rippleEffect": {
                "show": true,
                "brushType": "stroke",
                "scale": 2.5,
                "period": 4
            }
        }
    ],
    "legend": [
        {
            "data": [
                "geo"
            ],
            "selected": {
                "geo": true
            },
            "show": false,
            "padding": 5,
            "itemGap": 10,
            "itemWidth": 25,
            "itemHeight": 14
        }
    ],
    "tooltip": {
        "show": true,
        "trigger": "item",
        "triggerOn": "mousemove|click",
        "axisPointer": {
            "type": "line"
        },
        "showContent": true,
        "alwaysShowContent": false,
        "showDelay": 0,
        "hideDelay": 100,
        "formatter": function (params) {        return params.name + ' : ' + params.value[2];    },
        "textStyle": {
            "fontSize": 14
        },
        "borderWidth": 0,
        "padding": 5
    },
    "title": [
        {
            "text": "\u76ee\u524d\u63d0\u4f9b5G\u5546\u7528\u7f51\u7edc\u7684\u57ce\u5e02",
            "subtext": "\u6570\u636e\u6765\u6e90\uff1a\u7535\u4fe1\u3001\u79fb\u52a8\u3001\u8054\u901a\u5b98\u65b9\u53d1\u5e03",
            "left": "center",
            "top": "-1%",
            "padding": 5,
            "itemGap": 5
        }
    ],
    "visualMap": {
        "show": true,
        "type": "piecewise",
        "min": 0,
        "max": 100,
        "inRange": {
            "color": [
                "#50a3ba",
                "#eac763",
                "#d94e5d"
            ]
        },
        "calculable": true,
        "inverse": false,
        "splitNumber": 5,
        "orient": "vertical",
        "left": "22%",
        "bottom": "7%",
        "showLabel": true,
        "itemWidth": 20,
        "itemHeight": 14,
        "borderWidth": 0,
        "pieces": [
            {
                "value": 1,
                "color": "#F95DBA",
                "label": "1\u4e2a\u8fd0\u8425\u5546\u652f\u6301",
                "symbol": "circle",
                "symbolSize": 6
            },
            {
                "value": 2,
                "color": "#A64DFF",
                "label": "2\u4e2a\u8fd0\u8425\u5546\u652f\u6301",
                "symbol": "circle",
                "symbolSize": 6
            },
            {
                "value": 3,
                "color": "#4E70F0",
                "label": "3\u4e2a\u8fd0\u8425\u5546\u652f\u6301",
                "symbol": "circle",
                "symbolSize": 6
            }
        ]
    },
    "graphic": [
        {
            "type": "group",
            "diffChildrenByName": false,
            "children": [
                {
                    "type": "text",
                    "$action": "merge",
                    "rotation": 0,
                    "left": "68%",
                    "top": "52%",
                    "bounding": "all",
                    "z": 100,
                    "zlevel": 0,
                    "silent": false,
                    "invisible": false,
                    "ignore": false,
                    "cursor": "pointer",
                    "draggable": false,
                    "progressive": false,
                    "width": 0,
                    "height": 0,
                    "style": {
                        "text": "\u6c5f\u6d59\u6caa\u517110\n\u4e2a\u57ce\u5e02\u62e5\u6709\n\u5546\u75285G\u7f51\u7edc",
                        "x": 0,
                        "y": 0,
                        "font": "bolder 14px Microsoft YaHei",
                        "textAlign": "left",
                        "fill": "black",
                        "line_width": 0
                    }
                }
            ],
            "$action": "merge",
            "rotation": 0,
            "left": "68%",
            "top": "52%",
            "bounding": "all",
            "z": 99,
            "zlevel": 0,
            "silent": false,
            "invisible": false,
            "ignore": false,
            "cursor": "pointer",
            "draggable": false,
            "progressive": false,
            "width": 0,
            "height": 0
        },
        {
            "type": "group",
            "diffChildrenByName": false,
            "children": [
                {
                    "type": "text",
                    "$action": "merge",
                    "rotation": 0,
                    "left": "68%",
                    "top": "61%",
                    "bounding": "all",
                    "z": 100,
                    "zlevel": 0,
                    "silent": false,
                    "invisible": false,
                    "ignore": false,
                    "cursor": "pointer",
                    "draggable": false,
                    "progressive": false,
                    "width": 0,
                    "height": 0,
                    "style": {
                        "text": "\u4e0a\u6d77 \u676d\u5dde \u5357\u4eac\n\u82cf\u5dde \u65e0\u9521 \u5357\u901a \u5e38\u5dde\n\u5b81\u6ce2 \u6e29\u5dde \u5609\u5174 \u7ecd\u5174",
                        "x": 0,
                        "y": 0,
                        "font": "lighter 12px Microsoft YaHei",
                        "textAlign": "left",
                        "fill": "black",
                        "line_width": 0
                    }
                }
            ],
            "$action": "merge",
            "rotation": 0,
            "left": "68%",
            "top": "61%",
            "bounding": "all",
            "z": 99,
            "zlevel": 0,
            "silent": false,
            "invisible": false,
            "ignore": false,
            "cursor": "pointer",
            "draggable": false,
            "progressive": false,
            "width": 0,
            "height": 0
        },
        {
            "type": "group",
            "diffChildrenByName": false,
            "children": [
                {
                    "type": "text",
                    "$action": "merge",
                    "rotation": 0,
                    "left": "58%",
                    "top": "84%",
                    "bounding": "all",
                    "z": 100,
                    "zlevel": 0,
                    "silent": false,
                    "invisible": false,
                    "ignore": false,
                    "cursor": "pointer",
                    "draggable": false,
                    "progressive": false,
                    "width": 0,
                    "height": 0,
                    "style": {
                        "text": "\u5e7f\u4e1c5G\u5546\u7528\u57ce\u5e02\n\u6700\u591a(6\u4e2a)",
                        "x": 0,
                        "y": 0,
                        "font": "bolder 14px Microsoft YaHei",
                        "textAlign": "left",
                        "fill": "black",
                        "line_width": 0
                    }
                }
            ],
            "$action": "merge",
            "rotation": 0,
            "left": "58%",
            "top": "84%",
            "bounding": "all",
            "z": 99,
            "zlevel": 0,
            "silent": false,
            "invisible": false,
            "ignore": false,
            "cursor": "pointer",
            "draggable": false,
            "progressive": false,
            "width": 0,
            "height": 0
        },
        {
            "type": "group",
            "diffChildrenByName": false,
            "children": [
                {
                    "type": "text",
                    "$action": "merge",
                    "rotation": 0,
                    "bounding": "all",
                    "z": 100,
                    "zlevel": 0,
                    "silent": false,
                    "invisible": false,
                    "ignore": false,
                    "cursor": "pointer",
                    "draggable": false,
                    "progressive": false,
                    "width": 0,
                    "height": 0,
                    "style": {
                        "text": "\u5e7f\u5dde \u6df1\u5733 \u4f5b\u5c71 \u4e1c\u839e \u4e2d\u5c71 \u73e0\u6d77",
                        "x": 0,
                        "y": 0,
                        "font": "lighter 12px Microsoft YaHei",
                        "textAlign": "left",
                        "fill": "black",
                        "line_width": 0
                    }
                }
            ],
            "$action": "merge",
            "rotation": 0,
            "left": "58%",
            "top": "90%",
            "bounding": "all",
            "z": 99,
            "zlevel": 0,
            "silent": false,
            "invisible": false,
            "ignore": false,
            "cursor": "pointer",
            "draggable": false,
            "progressive": false,
            "width": 0,
            "height": 0
        },
        {
            "type": "group",
            "diffChildrenByName": false,
            "children": [
                {
                    "type": "text",
                    "$action": "merge",
                    "rotation": 0,
                    "bounding": "all",
                    "z": 100,
                    "zlevel": 0,
                    "silent": false,
                    "invisible": false,
                    "ignore": false,
                    "cursor": "pointer",
                    "draggable": false,
                    "progressive": false,
                    "width": 0,
                    "height": 0,
                    "style": {
                        "text": "\u897f\u85cf\u662f\u76ee\u524d\u552f\u4e00\u6ca1\u6709\n\u5546\u7528\u7f51\u7edc\u7684\u7701\u4efd",
                        "x": 0,
                        "y": 0,
                        "font": "bolder 14px Microsoft YaHei",
                        "textAlign": "left",
                        "fill": "black",
                        "line_width": 0
                    }
                }
            ],
            "$action": "merge",
            "rotation": 0,
            "left": "23%",
            "top": "63%",
            "bounding": "all",
            "z": 99,
            "zlevel": 0,
            "silent": false,
            "invisible": false,
            "ignore": false,
            "cursor": "pointer",
            "draggable": false,
            "progressive": false,
            "width": 0,
            "height": 0
        }
    ],
    "geo": {
        "map": "china",
        "roam": true,
        "aspectScale": 0.75,
        "nameProperty": "name",
        "selectedMode": false,
        "emphasis": {}
    }
};
        chart_330e780a693548b1bc5d8bb782d2ec35.setOption(option_330e780a693548b1bc5d8bb782d2ec35);
    </script>
</body>
</html>
